<% provide(:title, @event.name) %>
<h1>
  <%= @event.name %>
</h1>
<div class="row">
  <div class="large-centered large-10 columns">
    <table>
      <thead>
	<tr>
	  <th></th>
	  <th></th>
	</tr>
      </thead>
      <tbody>
	<% @event.duels.each do |duel| %>
	  <tr>
	    <td <%= duel_a_bg(duel) %>><%= link_to duel.a.name, duel.a %></td>
	    <td <%= duel_b_bg(duel) %>><%= link_to duel.b.name, duel.b %></td>
	  </tr>
	<% end %>
      </tbody>
    </table>
  </div>
</div>
